package com.zg.common.core.dao.scf.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zg.common.core.dao.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@TableName("SCF_RULE")
public class Rule extends BaseEntity {

    private Long companyId;

    private String describe;

    private Date beginTime;

    private Date endTime;

    private String  state;

    private String direction;

    @TableField(exist = false,value = "company.name")
    private String companyName;
}
